#ifndef UART_H
#define UART_H

#include "lcd_driver.h"
#define UART_BUFFER_SIZE 80

extern unsigned char xdata uartBuffer[UART_BUFFER_SIZE];
extern unsigned char xdata uartBufferIndex;
extern unsigned char xdata sentence_ready;

void UartWrite(unsigned char ch);
void UartArrayWrite(unsigned char* cfg, short len);
void UartWriteText(unsigned char* str);

#endif
